python: remove duplicate in a specific column

57

python: remove duplicate in a specific column -

df = df.drop_duplicates(subset=['Column1', 'Column2'], keep='first')

Comments

Submit
0 Comments